package cn.lyh.edu.repository;

import cn.lyh.edu.domain.EduMember;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface EduMemberRepository extends JpaRepository<EduMember, Long>, JpaSpecificationExecutor<EduMember> {

    /**
     * 根据手机号获取数据
     * @param phone
     * @return
     */
    EduMember findByPhone(String phone);
}
